package cn.mysdp.biz.controller;


import cn.mysdp.biz.dto.request.*;
import cn.mysdp.biz.dto.response.*;
import cn.mysdp.biz.facade.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.util.Date;
import java.util.List;

/**
 * @ClassName: SdpHistoryWebBaseController
 * @Description:
 * @Author: SDP
 * @Date: 2021-10-30
 * @Version: 1.0
 * Table: sdp_history
 * Comment:
 * 
 */
public class SdpHistoryWebBaseController extends BaseController {
    @Autowired
    SdpHistoryFacade service;

    public Integer addSdpHistory(SdpHistoryAddRequest request) throws Exception {
        return service.addSdpHistory(request);
    }

    public Integer updateSdpHistory(SdpHistoryUpdateRequest request) throws Exception {
        return service.updateSdpHistory(request);
    }

    public Integer deleteSdpHistory(SdpHistoryDeleteRequest request) throws Exception {
        return service.deleteSdpHistory(request);
    }

    public SdpHistoryQueryResponse querySdpHistory(SdpHistoryQueryRequest request) throws Exception {
        return service.querySdpHistory(request);
    }

    public List<SdpHistoryQueryResponse> listSdpHistory(SdpHistoryQueryRequest request) throws Exception {
        return service.listSdpHistory(request);
    }

    public Integer countSdpHistory(SdpHistoryQueryRequest request) throws Exception {
        return service.countSdpHistory(request);
    }

    public BaseStatResponse statSdpHistory(SdpHistoryQueryRequest request) throws Exception {
        return service.statSdpHistory(request);
    }

    public Integer clear(SdpHistoryForClearRequest request) throws Exception {
        return service.clear(request);
    }


}
